<template>
  <!-- <scroll-view> -->
    
    <!-- <uni-section title="提交成功！2021-12-17 1325832快诊单"></uni-section> -->
	<!-- <view :title="`第${index + 1}题`" class="title"></view>
    <result :problems="problems" :answers="answers" />
  </scroll-view> -->
  <view>
    <van-cell-group inset class="card">
  <van-cell title="提交成功提示"></van-cell>
   <van-cell > <van-empty class="content" description="您的快诊单已经提交到系统，请耐心等候">
    <van-button @click="goHomePage" round color="#ff6781" type="danger" class="bottom-button">
      回到首页
    </van-button>
  </van-empty></van-cell>
</van-cell-group>
  </view>
</template>

<script>

export default {
  data() {
    return {
      problems: [],
      answers: []
    }
  },
  onLoad() {
    // const eventChannel = this.getOpenerEventChannel();
    // eventChannel.on('data', data => {
    //   this.problems = data.problems;
    //   this.answers = data.answers.splice(data.answers.length - 1, 1);
    // });
  },
  methods:{
    goHomePage(){
      uni.reLaunch({
  });
    }
  }
}
</script>
<style scoped>

  .content{
    text-align: center;
  }
</style>
